package com.example.chongwushangcheng.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import androidx.appcompat.app.AppCompatActivity;
import com.example.petshopping.R;

/**
 * 交易规则与服务协议页面
 */
public class TransactionRulesActivity extends AppCompatActivity {

    private ImageView btnBack;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_transaction_rules);
        
        initViews();
        setListeners();
    }

    private void initViews() {
        btnBack = findViewById(R.id.btn_back);
    }

    private void setListeners() {
        btnBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
} 